import request from '@/utils/request.js'

// 获取频道
export function getUserChannel() {
    return request( {
        url: '/v1_0/user/channels'
    })
}

// 获取文章新闻推荐
//  params:
//    channel_id
//    timestamp
export function getNewList(params) {
    return request({
      url: '/v1_0/articles',
      params
    })
}

